package com.booza.model;

import java.io.Serializable;

/**
 * Domain model to store and retrieve information from friend table.
 */
public class Friend implements Serializable
{
	private static final long serialVersionUID = -7045207512815976534L;
	private Integer id;
	private Integer accountid;
	private Integer friendid;
	private Account account;
	private int status;
	private Account creator;

	public Account getCreator()
	{
		return creator;
	}

	public void setCreator(Account creator)
	{
		this.creator = creator;
	}

	public int getStatus()
	{
		return status;
	}

	public void setStatus(int status)
	{
		this.status = status;
	}

	public Friend() {
	}

	public Friend(Integer accountid, Integer friendid) {
		this.accountid = accountid;
		this.friendid = friendid;
	}

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getAccountid()
	{
		return accountid;
	}

	public void setAccountid(Integer accountid)
	{
		this.accountid = accountid;
	}

	public Integer getFriendid()
	{
		return friendid;
	}

	public void setFriendid(Integer friendid)
	{
		this.friendid = friendid;
	}

	public Account getAccount()
	{
		return account;
	}

	public void setAccount(Account account)
	{
		this.account = account;
	}
}
